﻿@model SportStore.Domain.Entities.Cart

<div class="nav navbar-right" >
    @Html.ActionLink("CheckOut", "Index", "Cart",
                        new { returnUrl = Request.Url.PathAndQuery },
                        new { @class = "btn btn-default navbar-btn" })
</div>


<p class="navbar-text navbar-right">
    <b>Your Cart:</b>
    @Model.Lines.Sum(x => x.Quantity) item(s), 
    @Model.ComputeTotalValue().ToString("c")
</p>

